package com.gov.dna.common.util;

import com.gov.dna.base.entity.BaseNode;
import io.swagger.annotations.ApiModelProperty;

public class Test extends BaseNode<Test> {


    @ApiModelProperty(value = "类型-菜单")
    public final static Integer MENU = 0;
    @ApiModelProperty(value = "类型-权限")
    public final static Integer PERMISSION = 1;
    @ApiModelProperty(value = "类型-资源")
    public final static Integer RESOURCES = 2;
    @ApiModelProperty(value = "类型-URL拦截")
    public final static Integer URL = 3;
    @ApiModelProperty(value = "类型-标签")
    public final static Integer LABEL = 4;

    @ApiModelProperty(value = "类型MENU、PERMISSION、RESOURCES、URL")
    private Integer type;

    @ApiModelProperty(value = "菜单属于哪个模块")
    private Integer menuType;

    @ApiModelProperty(value = "url打开方式 仅针对桌面菜单")
    private Integer openMethod;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "图标")
    private String icon;


    @Override
    public String nodeLabelField() {
        return null;
    }
}
